package com.codeavatar.hardwaretester.core;

import com.codeavatar.catools.lib.sign.CaSignType;
import com.codeavatar.catools.tool.CaAppTool;

/**
 * +----------------------------------------------------------------------
 * | @Author: codeavatar   @Year：2022
 * +----------------------------------------------------------------------
 * | @Email: codeavatar@aliyun.com
 * +----------------------------------------------------------------------
 **/
public class HTConstVal {

    //API必备参数
    public final static String POST_PLATFORM = "member";
    public final static String POST_DEVICE = "android";
    public final static String POST_VERSION = CaAppTool.init().getVersionName();

    //线上API
    public final static String API_NORMAL = "http://api.domain.com";
    public final static String DOMAIN_NORMAL = "http://www.domain.com";
    //线下API
    public final static String API_TEST = "http://api.domain.net";
    public final static String DOMAIN_TEST = "http://wwww.domain.net";

    //SOCKET
    public final static String WEBSOCKET_HOST_NORMAL = API_NORMAL.replace("http://","").replace("https://","");
    public final static int WEBSOCKET_PORT_NORMAL = 6262;
    public final static String WEBSOCKET_HOST_TEST = API_TEST.replace("http://","").replace("https://","");
    public final static int WEBSOCKET_PORT_TEST = 6262;

    //安全配置
    public final static CaSignType SIGN_KEY_TYPE = CaSignType.Md5;
    public final static String SIGN_KEY_MD5 ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxgI4lZm3mEd36+IpnCcGO+abcBCrAiMfun7VTqF9JhNXa9jJBuWU4YXpmm9DM1q86e+tGACny+MOVRCU9FMK+yg57fvkZbz/BOJ2FHFyyU7oysEA1vTFad5KGrExbSAVlvq5cZ14iBBN8rhabXXi6XZobPKaG8WZLC3Fg1pl4601+fV96/H1l4sqLANYtXHl4qE3o4h+mNJGVVoYlpPZZXIlZ57Yi8oXviX1FwKtUpoji2rFDxke7LaPrXqMrB+M/v7dLQeRIXrdW5gL1Ezi+UNuFomfZzFlK2VtF+YUVbzxOxOO+zR+RLKcXko1/bysKGKo+kzUFbSrxLrz+rvP8QIDAQAB";
    public final static String SIGN_KEY_RSA = "";
    public final static String SIGN_KEY_RSA2 = "";
    public final static String SIGN_CERT_PATH = "";

    //第三方插件
    public final static String WECHAT_APPID = "wx4af226fb5bf8706a";
    public final static String WECHAT_APPSECRET = "a767eb71c8af9bf15dd83f174549dead";
}
